home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / enable_commands < prev    next >
Text File  |  2001-04-23  |  605b  |  22 lines

  1. SYNOPSIS
  2.         void enable_commands()
  3.  
  4. DESCRIPTION
  5.         Enable this object to use commands normally accessible to
  6.         users. This also marks the current object as "living".
  7.         
  8.         Avoid to call this function from other places then from inside
  9.         create() (or reset(0) in compat mode), because the command
  10.         giver will be set to this object.
  11.  
  12. EXAMPLE
  13.         void create() {
  14.            enable_commands();
  15.        ...
  16.         }
  17.         
  18.         This will make the current object a living object.
  19.  
  20. SEE ALSO
  21.         command(E), living(E), disable_commands(E), native(C), hooks(C)
  22.